<?php
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
  <head>
    <?php print $head ?>
    <title><?php print $head_title ?></title>
    <?php print $styles ?>
    <?php print $scripts ?>
    <!--[if lt IE 7]>
      <?php print phptemplate_get_ie_styles(); ?>
    <![endif]-->
  </head>

  <body class="sidebars <?=$body_classes?>">
    <div id="page">
      <div id="wrapper">
        <div id="header">
         <a href="<?=$front_page?>"><?=$logo?></a>
         <div id="icons"><?=$topmenuitems?></div>
          <?=$header?>
        </div>
        <div id="sidebar">
          <?=$left?>
        </div>
        <div id="content">
          <div id="slogan">
            <?php $mission = theme_get_setting('mission', false);
            if ($mission != ""): ?>
               <div class="mission"> <?php print $mission; ?></div>
            <?php endif; ?>
          </div>
          <div id="content-wrapper">
            <?php if ($show_messages && $messages): print $messages; endif; ?>
            <ul id="tabs" class="menu"><?=$tabs?></ul>
            <?=$content?>
          </div>
        </div>
        <div class="clear"></div>
      </div>
      <div id="flashbox"></div>
      <div id="footer">
        <div id="in_footer">
          &copy; 2007-2011
          <a href='<?=$front_page?>'>World Forex Corp.</a>
          <div id="counters">
            Сайт нашей компании принимает участие в интернет-рейтингах:
            <br/>
          </div>
        </div>
        <?=$footerbg?>
      </div>
    </div>
  </body>
</html>
